package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.pojo.HomeRecommendProduct;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface SmsHomeRecommendProductService extends IService<HomeRecommendProduct> {
    void createRecommend(List<HomeRecommendProduct> homeRecommendProductList);

    void deleteRecommend(List<Long> ids);

    PageResult listRecommend(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    void updateStatus(List<Long> ids, Integer recommendStatus);

    void updateSort(Long id, Integer sort);
}
